package top.korori.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 
 * 角色与用户关联
 * 
 *
 * @author korori
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("sys_role_user")
@ApiModel(value = "SysRoleUser对象", description = "角色与用户关联")
public class SysRoleUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("角色id")
    private Long roleId;

    @ApiModelProperty("用户id")
    private Long userId;


}
